package com.aspose.cells;

import java.util.ArrayList;
import java.util.Collection;

class zcc {
   ArrayList a;
   zaos b;
   zaos c;
   zaos d;

   void a(zcc var1) {
      if (var1.a != null) {
         this.a = new ArrayList();
         com.aspose.cells.b.a.a.ze.a(this.a, (Collection)var1.a);
      }

      if (var1.b != null) {
         this.b = new zaos();
         this.b.a(var1.b);
      }

      if (var1.c != null) {
         this.c = new zaos();
         this.c.a(var1.c);
      }

      if (var1.d != null) {
         this.d = new zaos();
         this.d.a(var1.d);
      }

   }

   boolean b(zcc var1) {
      if (this.a != null || var1.a != null) {
         if (this.a == null || var1.a == null) {
            return false;
         }

         if (this.a.size() != var1.a.size()) {
            return false;
         }
      }

      if (this.b != null || var1.b != null) {
         if (this.b == null || var1.b == null) {
            return false;
         }

         if (!this.b.b(var1.b)) {
            return false;
         }
      }

      if (this.c != null || var1.c != null) {
         if (this.c == null || var1.c == null) {
            return false;
         }

         if (!this.c.b(var1.c)) {
            return false;
         }
      }

      if (this.d != null || var1.d != null) {
         if (this.d == null || var1.d == null) {
            return false;
         }

         if (!this.d.b(var1.d)) {
            return false;
         }
      }

      return true;
   }
}
